﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ivy.Common.Framework.Base;
using System.Runtime.Serialization;

namespace Ivy.UserRegistration.Entity
{
    [Serializable]
    [DataContract]
    public class UserProfile : DataEntityBase
    {
        #region  Variable& constant

        Int32 lUserKey = -1;
        string lUserFullName = string.Empty;
        string lUserSex = string.Empty;
        Nullable<DateTime> lUserBirthDay = null;
        string lUserAlternateEmailID = string.Empty;
        string lUserContactNumber = string.Empty;
        string lUserContactAddress = string.Empty;

        #endregion  Variable& constant

        #region Constructor & Destructor
        public UserProfile() : base() { }
        #endregion Constructor & Destructor

        #region Properties

        [DataMember]
        public Int32 UserKey
        {
            get
            {
                return lUserKey;
            }
            set
            {
                lUserKey = value;
            }
        }
        [DataMember]
        public string UserFullName
        {
            get
            {
                return lUserFullName;
            }
            set
            {
                lUserFullName = value;
            }
        }
        [DataMember]
        public string UserSex
        {
            get
            {
                return lUserSex;
            }
            set
            {
                lUserSex = value;
            }
        }
        [DataMember]
        public Nullable<DateTime> UserDateOfBirth
        {
            get
            {
                return lUserBirthDay;
            }
            set
            {
                lUserBirthDay = value;
            }
        }
        [DataMember]
        public string UserAlternateEmailID
        {
            get
            {
                return lUserAlternateEmailID;
            }
            set
            {
                lUserAlternateEmailID = value;
            }
        }
        [DataMember]
        public string UserContactNumber
        {
            get
            {
                return lUserContactNumber;
            }
            set
            {
                lUserContactNumber = value;
            }
        }
        [DataMember]
        public string UserContactAddress
        {
            get
            {
                return lUserContactAddress;
            }
            set
            {
                lUserContactAddress = value;
            }
        }


        #endregion Properties

        #region Public Methods
        #endregion Public Methods

        #region Events
        #endregion Events

        #region Private Methods
        #endregion Private Methods
    }
}
